<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Price My House: main.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PriceMyHouse.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Price My House&#160;<span id="projectnumber">Alpha 1</span></div>
   <div id="projectbrief">Application documentation, Nokia mobile version</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('a00004.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">main.cpp</div>  </div>
</div>
<div class="contents">
<a href="a00004.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;QtGui/QApplication&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &quot;<a class="code" href="a00007.html">qmlapplicationviewer.h</a>&quot;</span>
<a name="l00032"></a>00032 
<a name="l00033"></a><a class="code" href="a00004.html#a0ddf1224851353fc92bfbff6f499fa97">00033</a> <span class="keywordtype">int</span> <a class="code" href="a00004.html#a0ddf1224851353fc92bfbff6f499fa97">main</a>(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[])
<a name="l00034"></a>00034 {
<a name="l00035"></a>00035     QApplication app(argc, argv);
<a name="l00036"></a>00036 
<a name="l00037"></a>00037     <a class="code" href="a00002.html">QmlApplicationViewer</a> viewer;
<a name="l00038"></a>00038     viewer.<a class="code" href="a00002.html#a80f58eb6d6210437a5e788155a865169">setOrientation</a>(<a class="code" href="a00002.html#ac7c7e3771e785af566efd57ef319ac0baa2654139c60cbef50d0a8c21203b10f0">QmlApplicationViewer::ScreenOrientationLockPortrait</a>);
<a name="l00039"></a>00039     viewer.<a class="code" href="a00002.html#a41240898c2e371e987fad66304f0acaf">setMainQmlFile</a>(QLatin1String(<span class="stringliteral">&quot;qml/PriceMyHouse/main.qml&quot;</span>));
<a name="l00040"></a>00040     viewer.<a class="code" href="a00002.html#ad899dc23f1a2c01276ec428db92215b8">showExpanded</a>();
<a name="l00041"></a>00041 
<a name="l00042"></a>00042     <span class="keywordflow">return</span> app.exec();
<a name="l00043"></a>00043 }
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="a00004.html">main.cpp</a>      </li>
      <li class="footer">Generated on Sun May 1 2011 15:04:04 for Price My House by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
